package com.skt.common_hr.yearadjustment.events
{
	import flash.events.Event;

	public class DonationItemEvent extends Event
	{
		public var itemIdx:int;
		public var oldCode:String;
		public var oldAmt1:Number;
		public var oldAmt2:Number;
		public static const DONATION_ITEM_DEL:String 	= "donationItemDel";
		public static const DONATION_ITEM_MODIFY:String = "donationItemModify";
		
		public function DonationItemEvent(type:String, idx:int=-1, oldCode:String = "", oldAmt1:Number=0, oldAmt2:Number=0)
		{
			super(type, false, false);
			this.itemIdx	= idx;
			this.oldCode	= oldCode;
			this.oldAmt1	= oldAmt1;
			this.oldAmt2	= oldAmt2;
		}
		
		override public function clone():Event
		{
			trace("clone call");
			return new DonationItemEvent(this.type, itemIdx, oldCode, oldAmt1, oldAmt2);
		}
	}
}